package com.guli.cart.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: 朱财艺
 * @date : 2022/01/19
 * @Description:
 */
@Component
@Data
@ConfigurationProperties(prefix = "gulimall.thread")
public class ThreadPoolConfigProerties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
